package OOP.Poly_Exercise.PolyExercise_Arr;

public class Cat extends Animal {

        public Cat(String name) {
            super(name);
        }

        public void eat(){
        System.out.println(this.getName() +" is eating");
     }

        public void cry(){
            System.out.println("i am a cat  " + this.getName());
        }
}

